package com.yllt4cloud.gateway.filter;

import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.gateway.filter.GatewayFilter;
import org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory;
import org.springframework.stereotype.Component;

/**
 * @author yaoxj
 * @date 2019/7/15
 * 店端登录过滤器
 */
@Slf4j
@Component
public class DdLoginFilter extends AbstractGatewayFilterFactory {

	@Override
	public GatewayFilter apply(Object config) {
		return (exchange, chain) -> {
			return chain.filter(exchange);
		};
	}




}
